home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’96
/
Audio dcmds
/
Audio CD dcmds.sit
/
Audio CD dcmds.π
/
Think dcmd glue source
/
Think dcmd glue.c
next >
Wrap
C/C++ Source or Header
|
1995-07-02
|
632b
|
34 lines
pascal void COMMANDENTRY( void );
#ifdef THINK_C
void main( void )
{
asm
{
start: dc.w 2 /* version number (?) */
dc.w 0 /* global space (?) */
lea COMMANDENTRY,a0 /* required to use TestDcmd */
lea @start,a0 /* allow use of globals via SetUpA4.h */
bra COMMANDENTRY;
}
}
#else
asm void main( void )
{
start: dc.w 2 /* version number (?) */
dc.w 0 /* global space (?) */
lea COMMANDENTRY,a0 /* required to use TestDcmd */
lea start,a0 /* allow use of globals via SetUpA4.h */
jmp COMMANDENTRY
}
#endif
void _DATAINIT( void )
{
/* nothing */
}